﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class WebPage_SchoolInfoDetail : System.Web.UI.Page
{
    public static string _add = "0", _mod = "0", _del = "0";
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            string num = Request.QueryString["State"].ToString();
            string _TABNAME = Request.QueryString["table"].ToString();
            int no = Convert.ToInt32(Request.QueryString["key"].ToString());
            string str = "SELECT TabSchID, SchName, MainOrDivsion, SchLocation,SchAddress, NewStuNum, TotalStuNum FROM TAB_SCHOOLINFO WHERE (TabSchID = 3)";
            this.SDS_SCHOOLINFO.SelectCommand = str;
            //SDS_SCHOOLINFO.Update();
            this.SDS_SCHOOLINFO.DataBind();
           
            this.DV_SCHOOLINFO.DataBind();
           // TextBox12.Text = DV_SCHOOLINFO.DataSource.ToString();
        }
    }

    protected void btn_Back_Click(object sender, EventArgs e)
    {
        Response.Write("<script>window.close();</script>");
    }

    protected void Sds_Deleted(object sender, SqlDataSourceStatusEventArgs e)
    {
    }

    protected void Sds_Updated(object sender, SqlDataSourceStatusEventArgs e)
    {

    }
}
